package com.kandinfo.survey.common.service;

import com.kandinfo.base.common.dto.ResultDto;
import com.kandinfo.base.common.service.Service;
import com.kandinfo.survey.common.domain.Question;
import com.kandinfo.survey.common.dto.QuestionDto;
import com.kandinfo.survey.common.repository.QuestionRepository;

/**
 * 问题基础Service, created on 11/30/2016
 * 
 * @author Patrick-chenzp
 */
public interface QuestionService extends Service<Question, Long, QuestionRepository> {

    /**
     * 新建问题
     * 
     * @param questionDto
     * @return
     */
    ResultDto newQuestion(QuestionDto questionDto);
}
